package gang.com.mobelhelper.data.http;


import gang.com.mobelhelper.bean.AppInfo;
import gang.com.mobelhelper.bean.BaseBeano;
import gang.com.mobelhelper.bean.PageBean;
import retrofit2.http.GET;
import retrofit2.http.Query;
import rx.Observable;

/**
 * Created by xiaogangzai on 2017/7/11.
 */

public interface ApiService {
    public static final String BASE_URL = "http://112.124.22.238:8081/course_api/cniaoplay/";

    /*@GET("featured")
    public Call<PageBean<AppInfo>> getApps(@Query("p") String jsonParam);*/

    //如果将这个改成Rxjava类型

   @GET("featured")
    public Observable<BaseBeano<PageBean<AppInfo>>> getApps(@Query("p") String jsonParam);
    /*@GET("fapp/{id}")
    public Call<BaseBeano<AppInfo>> getAppDetail(@Path("id") int id);*/
}
